package cn.jnetty.api.handler;

import java.io.IOException;

/**
 * @author 猪哥亮
 * @email 1030681978@qq.com
 * @date 2020/4/9 11:12
 * 描述：参数解析器
 */
public interface ParameterHandler<T> {
    Object decode(T buff,RequestDefinitionBean bean) throws IOException;
    T encode(Object o);
}
